package com.aaa.utils;
/**
 * @create by: Teacher陈
 * @description: 定义枚举类型的返回状态
 * @create time: 2020/9/17 9:22
 */
public enum RetStatusEnum {
    SUCCESS(0,"操作成功"),
    FAILE(1,"操作失败");
    private  int code;
    private String message;

    RetStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
